'use strict';

/**
 * @type {*}
 */

let StringUtil = require('../../util/StringUtil');
let baseService = require('../BaseService');
const URI = {
    ALARM: '/users',
    ORDER_EXPORT:'/asset/downloadFile',//工单信息Excel导出
    GET_CHAR:'/asset/statisticUtilization',//工单信息图表数据
};

/**
 * 获取-工单信息列表
 * @param thiz
 * @returns {Promise}
 */
module.exports.getOrderList = function (thiz, params) {
    return baseService.get(thiz, URI.ALARM, params);
};
//工单信息Excel导出
module.exports.getWorkOrderExport  = function (thiz,params) {
    return baseService.get(thiz,URI.ORDER_EXPORT, params);
};
/** 工单信息图表数据*/
module.exports.getChar  = function (thiz, params) {
    return baseService.get(thiz, URI.GET_CHAR, params);
};
